#ifndef __FRUIT_H__
#define __FRUIT_H__
#include "cocos2d.h"
class Fruit:public cocos2d::CCSprite
{
public:
	int fruit_id_;
	int x_;
	int y_;
	static float kScale;
	static float kScaleX;
	static float kScaleY;
	bool containsTouchLocation(cocos2d::CCTouch* touch);
	bool containsTouchLocation(cocos2d::CCPoint point);
	static Fruit * create(const char *pszSpriteImageName);
	bool init();
	void smallDisapper();
	void callBackDisapper(cocos2d::CCNode * sender);

private:
	
	cocos2d::CCRect rect();
};
#endif